package com.create404.suishoupai.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.create404.suishoupai.entity.PhotoRecord;
import com.create404.suishoupai.vo.PhotoRecordVO;

import java.util.List;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author create404
 * @since 2021-07-17
 */
public interface IPhotoRecordService extends IService<PhotoRecord> {

    List<PhotoRecordVO> getPhotoRecordList();
    List<PhotoRecordVO> getPhotoRecordListType1();
    List<PhotoRecordVO> getPhotoRecordListType2();
    PhotoRecordVO queryById(int id);

    PhotoRecord getLatestOne();


    IPage<PhotoRecordVO> getMyPhotoRecords(Page<?> page, String employeeId);

}
